xenctx: Add command line options -b (--bytes-per-line) and -l (--lines)
authorDon Slutz <dslutz@verizon.com>
Thu, 3 Apr 2014 19:06:55 +0000 (15:06 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 4 Apr 2014 08:28:06 +0000 (09:28 +0100)
commit5013d8c5ec9e04449c6864857a820bcb7eb56cb8
tree9ab8ae63e1a8deb7e666eb179d678c873dc6f475
parent91450fc02bbdb7ffce3d2d578af37c274cd2b049
xenctx: Add command line options -b (--bytes-per-line) and -l (--lines)

  -b <bytes>, --bytes-per-line <bytes>
                     change the number of bytes per line output for Stack.
                     (default 32) Note: rounded to native size (4 or 8 bytes).

This option allows you to change the width of the output line.  When
used with the -D option and/or -t, the output can be adjusted with
this to less then 80 columns.

  -l <lines>, --lines <lines>
                     change the number of lines output for Stack. (default 5)
                     Can be specified as MAX.  Note: Fewer lines will be output
                     if stack limit reached.

The default value show a reasonable amount of the raw stack.  The -S
option will output all of it one line at a time.  This can be used
to select something in the middle.

Signed-off-by: Don Slutz <dslutz@verizon.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/xentrace/xenctx.c